package org.dromara.quick.chat.mapper;

import org.dromara.quick.chat.domain.ImBlacklist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author Stars
* @description 针对表【im_blacklist(黑名单表)】的数据库操作Mapper
* @createDate 2025-04-13 16:27:03
* @Entity org.dromara.quick.chat.domain.ImBlacklist
*/
public interface ImBlacklistMapper extends BaseMapper<ImBlacklist> {

    /**
     * 根据 sender_id 和 receiver_id 插入或更新黑名单数据
     * @param imBlacklist 黑名单实体对象
     * @return 受影响的行数
     */
    int insertOrUpdateBlacklist(ImBlacklist imBlacklist);

}




